#ifndef ICOLLISIONTEST_H_
#define ICOLLISIONTEST_H_

#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>

#include "../src/math/math.h"

using physicsworks::math::Vec3;

class ICollisionTest : public CppUnit::TestFixture
{
	CPPUNIT_TEST_SUITE(ICollisionTest);
	CPPUNIT_TEST(testIntersection);
	CPPUNIT_TEST_SUITE_END();
	
private:
	Vec3<float> *af0, *af1, *af2;
	Vec3<float> *bf0, *bf1, *bf2;
	Vec3<float> *cf0, *cf1, *cf2;
	Vec3<float> *df0, *df1, *df2;
	Vec3<float> *ef0, *ef1, *ef2;
	Vec3<float> *ff0, *ff1, *ff2;
	
	Vec3<double> *ad0, *ad1, *ad2;
	Vec3<double> *bd0, *bd1, *bd2;
	Vec3<double> *cd0, *cd1, *cd2;
	Vec3<double> *dd0, *dd1, *dd2;
	Vec3<double> *ed0, *ed1, *ed2;
	Vec3<double> *fd0, *fd1, *fd2;

public:
	void setUp();
	void testIntersection();
	void tearDown();
};

#endif /*ICOLLISIONTEST_H_*/
